package cn.kgc.service;

import cn.kgc.dto.Dto;
import cn.kgc.vo.DmUserVO;

import java.util.Map;

public interface WxService {


    /**
     * 根据token获取当前登陆的用户信息
     *
     * @param tokenString
     * @return
     * @throws Exception
     */
    public DmUserVO loadCurrentUserByTokenAsDmUserVo(String tokenString) throws Exception;

    /**
     * 获取微信用户信息，进行自身业务实现
     * @param userInfoMap
     * @throws Exception
     */
    public String wechatLogin(Map<String, Object> userInfoMap, String openId) throws Exception;

}
